Imports System.Runtime.Serialization

<DataContract()> _
Public Class ImportType

    <DataMember()> _
    Public Const FileTypeMDB As String = "MDB"
    <DataMember()> _
    Public Const FileTypeXML As String = "XML"

    <DataMember()> _
    Public Const ObjectTypeAll As String = "All"
    <DataMember()> _
    Public Const ObjectTypeName As String = "Name"
    <DataMember()> _
    Public Const ObjectTypeReference As String = "Reference"
    <DataMember()> _
    Public Const ObjectTypeOtherData As String = "Other Data"

    <DataMember()> _
    Public ImportTypeId As Integer = -1
    <DataMember()> _
    Public Name As String = ""
    <DataMember()> _
    Public FileExtension As String = ""
    <DataMember()> _
    Public XSLTFile As String = ""
    <DataMember()> _
    Public FileType As String = "" 'MDB or XML
    <DataMember()> _
    Public ObjectType As String = "" 'Name or Reference
    <DataMember()> _
    Public ChangeDate As DateTime = DateTime.MinValue
    <DataMember()> _
    Public ChangeUser As String = ""

End Class
